﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesProjectWinform.BasicData.Entity
{
    /// <summary>
    /// 产品项
    /// </summary>
    public class ProductItemModel
    {
        public long Id { get; set; }
        public string Productitemcode { get; set; }
        public string Productitemname { get; set; }
        public string Productitemspecification { get; set; }
        public string Productitemunit { get; set; }
        public double Productitemwarningvalue { get; set; }
        public string Processrouteid { get; set; }
        public string Materialgroupid { get; set; }
        public int Producttype { get; set; }
        public string Productitemdescribe { get; set; }
        public string Productattributes { get; set; }
        public bool IsDeleted { get; set; } = false;
        public string CreatedBy { get; set; }
        public DateTime CreatedTime { get; set; } = DateTime.Now;
        public string UpdatedBy { get; set; }
        public DateTime UpdatedTime { get; set; } = DateTime.Now;
    }
    public class ProductItemDto
    {
        public string Message { get; set; } = string.Empty;
        public string Code { get; set; } = string.Empty;

        public List<ProductItemModel> PageData { get; set; } = new List<ProductItemModel>();
        public int TotalCount { get; set; }
    }
}
